﻿<UserControl x:Class="DiscountSharing.LocalControls.LimitedTextBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Vertical">
            <TextBox x:Name="MessageInput" Height="130" TextWrapping="Wrap" FontSize="22" BorderBrush="Transparent" Margin="6,2,6,2"/>
            <TextBlock x:Name="WordCount" FontSize="22" Foreground="{StaticResource PhoneAccentBrush}" HorizontalAlignment="Right" Margin="6,2,18,2"/>
        </StackPanel>
    </Grid>
</UserControl>
